All Questions
Tagged with bad-codeclean-code
2 questions
0votes
1answer
141views
Is a "concrete function" over "generic function" a good implementation?
I want to know others opinion about this approach that I use in a lot of projects, for example, I can show the last time that I use it: public class DataStorageService { private enum Keys { ...
10votes
4answers
3kviews
is this way of calling a function a bad practice?
I have the following code: public void moveCameraTo(Location location){ moveCameraTo(location.getLatitude(), location.getLongitude()); } public void moveCameraTo(double latitude, double ...